local function fact(n)
	if n <= 1 then
		return 1
	else
		return n * fact(n-1)
	end
end

print(fact(5))
